<div class="container-fluid">
    <div class="row">
        <div class="span6">
            <form method="post" action="do_upload" enctype="multipart/form-data">
              <h3>Upload Data Kelulusan</h3>
              <fieldset>
                <div class="control-group">
                  <label for="exampleInputFile" class="control-label">File input:</label>
                  <div class="controls">
                      <input type="file" id="exampleInputFile" name="userfile">
                      <font class="strerr"><?=isset($upload['error']) ? @$upload['error']:""?></font>
                  </div>
                </div>

              <div class="control-group">
                  <label for="txtOption" class="control-label">Option:</label>
                  <div class="checkbox">
                    <label><input type="checkbox" name="isoverride" value="1"> Override duplicate data</label>
                  </div>
                </div>
                <div class="control-group">
                  <div class="controls">
                    <input type="submit" value="Upload" class="btn btn-primary">
                    <a class="btn btn-default" href="<?= base_url() ?>masterprofile">Cancel</a>
                  </div>
                </div>
              </fieldset>
            </form>
        </div>
        <div class="span5">
            <h4>Catatan:</h4>
            <ol>
                <li>Hanya file .xls yang diperbolehkan untuk diupload.</li>
                <li>Lengkapi mandatory field: 
                    <ul>
                        <li>NIS</li>
                        <li>Fullname</li>
                        <li>Gender (L/P)</li>
                        <li>Birthdate (YYYY-MM-DD)</li>
                        <li>Graduate Year (YYYY)</li>
                    </ul></li>
                <li>Gunakan file template yang bisa didownload pada link berikut:<br><br>
                <a class="btn btn-danger" href="<?= base_url() ?>masterprofile/template">Download File Template</a></li>
            </ol>
            
        </div>
    </div>
</div>
